<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>文本指令</title>
</head>
<body>
<div>
  {{info}}
  <p v-text = 'info'></p>

  <p v-html = "info"></p>
</div>


<script src="js/vue.min.js"></script>
<script>
  let v = new Vue({
    el:"body>div",
    data:{
      info:'文本相关<b>这是加粗</b>'
    }
  })
</script>
</body>
</html>